package com.rimi.service;

import com.rimi.bean.Video;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * InnoDB free: 11264 kB; (`user_id`) REFER `owl_video/user`(`user_id`); (`menu_id` 服务类
 * </p>
 *
 * @author sky
 * @since 2018-06-06
 */
public interface VideoService extends IService<Video> {

    Video getVideoById(Integer id);

    //查询视频列表
    List<Video> getVideoList();

    void collectVideo(Integer userId, Integer videoId);

    void hotUp(Video v);
}
